package axdoc.model.tags;

import com.alibaba.fastjson.JSON;

import axdoc.util.Md5;

public class TagsSymptom {

	private Integer symptomId;
	private String symptomName;
	private String symptomLexid;

	public Integer getSymptomId() {
		return symptomId;
	}

	public void setSymptomId(Integer symptomId) {
		this.symptomId = symptomId;
	}

	public String getSymptomName() {
		return symptomName;
	}

	public void setSymptomName(String symptomName) {
		this.symptomName = symptomName;
	}

	public String getSymptomLexid() {
		this.symptomLexid = Md5.md5(this.symptomName);
		return symptomLexid;
	}

	public void setSymptomLexid(String symptomLexid) {
		this.symptomLexid = symptomLexid;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}

}
